<template>
    <div>
        12312
         <el-button type="danger" @click="login_out">退出</el-button>
    </div>
</template>
<script>
export default {
    name: 'LbtIndex',
    data() {
        return {
            
        };
    },

    mounted() {
        console.log(this.$cookies.isKey('token'))
    },

    methods: {
        login_out() {
            this.$cookies.remove('token')
            this.$router.push('/login') 
        },
    },
};
</script>
<style lang="scss" scoped>
    .content {
        .div {
            color: red;
        }
    }
</style>